Skip to content

fix: re-export sandbox providers from rivetkit/sandbox barrel#4479

Open
NathanFlurry wants to merge 1 commit intomainfrom
fix/sandbox-provider-reexports
Open

fix: re-export sandbox providers from rivetkit/sandbox barrel#4479
NathanFlurry wants to merge 1 commit intomainfrom
fix/sandbox-provider-reexports

Conversation

@NathanFlurry
Copy link
Member

Summary

  • Re-export e2b, docker, local, daytona, vercel, modal, and computesdk provider functions from the main rivetkit/sandbox entry point
  • Consumers can now import { e2b } from "rivetkit/sandbox" without needing sub-path imports like rivetkit/sandbox/e2b

Test plan

  • Build passes (pnpm --filter rivetkit build)
  • Verified all provider exports present in built dist/tsup/sandbox/index.js

Re-export e2b, docker, local, daytona, vercel, modal, and computesdk
provider functions from the main rivetkit/sandbox entry point so
consumers can import them directly without using sub-path imports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@railway-app
Copy link

railway-app bot commented Mar 22, 2026

🚅 Deployed to the rivet-pr-4479 environment in rivet-frontend

Service Status Web Updated (UTC)
frontend-cloud 😴 Sleeping (View Logs) Web Mar 24, 2026 at 11:14 am
website 😴 Sleeping (View Logs) Web Mar 24, 2026 at 6:44 am
frontend-inspector 😴 Sleeping (View Logs) Web Mar 24, 2026 at 1:06 am
kitchen-sink ❌ Build Failed (View Logs) Web Mar 22, 2026 at 10:43 am
mcp-hub ✅ Success (View Logs) Web Mar 22, 2026 at 10:41 am
ladle ❌ Build Failed (View Logs) Web Mar 22, 2026 at 10:41 am

@claude
Copy link

claude bot commented Mar 22, 2026

PR Review\n\nOverall: Clean, minimal change that correctly adds convenience re-exports. Implementation is straightforward and correct.\n\n### Issues\n\nDocumentation not updated per CLAUDE.md guidelines\n\nPer CLAUDE.md, when modifying sandbox providers or their exports, website/src/content/docs/actors/sandbox.mdx should be kept in sync.\n\nThe docs throughout sandbox.mdx still show sub-path imports (e.g. import { docker } from "rivetkit/sandbox/docker"). Now that the barrel export is available, the docs should be updated to show the new unified import as the preferred style, or at least mention that both styles work.\n\nMinor: trailing newline\n\nThe last added line export { computesdk } from "sandbox-agent/computesdk" - worth confirming the file ends with a trailing newline.\n\n### What looks good\n\n- All 7 providers match what is in src/sandbox/providers/ with no missing or extra exports\n- Cloudflare is correctly omitted, consistent with the docs note that it is incompatible with the sandbox actor wrapper\n- The change is purely additive and will not break existing sub-path imports

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 22, 2026

More templates

@rivetkit/cloudflare-workers

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/cloudflare-workers@4479

@rivetkit/framework-base

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/framework-base@4479

@rivetkit/next-js

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/next-js@4479

@rivetkit/react

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/react@4479

rivetkit

pnpm add https://pkg.pr.new/rivet-dev/rivet/rivetkit@4479

@rivetkit/sql-loader

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/sql-loader@4479

@rivetkit/sqlite-vfs

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/sqlite-vfs@4479

@rivetkit/traces

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/traces@4479

@rivetkit/workflow-engine

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/workflow-engine@4479

@rivetkit/virtual-websocket

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/virtual-websocket@4479

@rivetkit/engine-runner

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/engine-runner@4479

@rivetkit/engine-runner-protocol

pnpm add https://pkg.pr.new/rivet-dev/rivet/@rivetkit/engine-runner-protocol@4479

commit: a6d0f1f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant